import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:news_flutter/pages/user/user_center_info_page.dart';
import 'package:news_flutter/utils/my_navigator.dart';

class UserCenterPage extends StatefulWidget {
  @override
  _UserCenterPageState createState() => _UserCenterPageState();
}

class _UserCenterPageState extends State<UserCenterPage> {
  @override
  Widget build(BuildContext context) {
    return Container(
      child: Center(
        child: FlatButton(
          child: Text("用户中心"),
          onPressed: (){
            MyNavigator.push(context, UserCenterInfoPage());
      },
        ),
      ),
    );
  }
}
